home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4581 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: yama.mcc.ac.uk!dmu!usenet
  2. From: Timothy Eves <se1te@dmu.ac.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: GadTools boolean BUTTON_KIND
  5. Date: Fri, 01 Mar 1996 15:28:22 +0000
  6. Organization: De Montfort Univerity
  7. Message-ID: <31371796.2F63@dmu.ac.uk>
  8. References: <4h2r69$949@azure.acsu.buffalo.edu>
  9. NNTP-Posting-Host: tlaloc.cms.dmu.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/750)
  14.  
  15. Ross Y Cohen wrote:
  16. > Is it possible, using GENERIC_KIND gadtools gadgets to _legally_ get a
  17. > gadtools button to behave like a CHECKBOX_KIND (boolean)?
  18.  
  19. Yes, it because the GENERIC_KIND are just lowlevel pre-GadTools gadgets,
  20. but made accessable through GT for consitency.
  21.  
  22. > If so, what fields do I have to set in the newgadget structure?
  23.  
  24. If I remeber correctly, you create the GadTools gadget, then access the
  25. gadget structure and fill in the relevant fields as would if you were
  26. creating a gadget from scratch.  I could send you some code I've written
  27. that uses GENERIC_KIND GadTools gadgets, or even nock together a small
  28. example of the above.
  29.  
  30. Tim Eves
  31.  
  32. P.S. Mail me with your reply as the news server seems to screw up
  33. ocasonaly.
  34. -- 
  35. ------------------------------------------------------------O----------------    
  36. Out of the gloom came a voice, "Smile  and  be  happy things| EMail To:
  37. could  be  worse",  it  said.  So I smiled and I was  happy,|
  38. se1te@dmu.ac.uk
  39. and  behold  things  did  get worse.                |
  40. ------------------------------------------------------------O----------------
  41.